package edu.sctu.xiangkun.day201505.day20150513;

import edu.sctu.xiangkun.day201505.day20150513.TextA;

/**
 * Created by user21 on 2015/5/13.
 */
public class TextB extends TextA {

    public TextB(String name,int age){
        super(name,age);

        int value=20;
        if(age>=value){
            System.out.println("name:"+name+"\tage:"+age);
        }
    }
}
